package advancewars.core.unit;

import java.util.List;

/**
 * Loadable unit can load other units as a transporter.
 * @author Coddy
 *
 */
public interface ILoadable
{
	/**
	 * Capacity of this Loadable unit
	 * @return
	 */
	public int getCapacity();
	
	/**
	 * get the List of loaded units.
	 * @return
	 */
	public List<IUnit> getLoadedUnit();

	/**
	 * Load unit into the Loadable unit.
	 * @param unit
	 */
	public void load(IUnit unit);
	
	/**
	 * Unload the specified loaded unit from the Loadable unit.
	 * @param unit
	 */
	public void unLoad(IUnit unit);
//	public void unLoadAll();
}
